@import "../../../style/input.scss";
// .font-link {
//     color: $color-main-green !important;
// }

.xhqb-add-bank-wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	.add-bank-container {
		@include custom-input;
		@include input-height;
		flex: 1;
		padding-bottom: 2rem;
		overflow-y: scroll;
		.name_auth_banner {
			width: 100%;
		}
		.am-list-item {
			height: 0.96rem !important;
			min-height: 40px !important;
			// border-bottom: 1px solid #ddd!important;
			.am-list-line {
				.am-input-label {
					width: auto;
					font-size: 0.32rem;
					margin-right: 0.4rem;
					color: #353535;
				}
				.am-input-control input {
					font-size: 0.32rem;
				}
			}
		}
		.am-list-line::after {
			bottom: 0px !important;
			height: 0px !important;
		}

		// .am-list-line:last-child::after{
		//     bottom: 0px !important;
		// }
		.font-link {
			color: #302e2f !important;
		}

		.my-clear1 {
			.am-input-clear {
				position: relative;
				left: -45px;
			}
		}

		.my-clear2 {
			.am-input-clear {
				position: relative;
				left: -130px !important;
			}
		}

		.my-clear2 :last-child::after {
			bottom: 0px !important;
		}

		.icon-help {
			position: absolute;
			right: 0;
			top: 50%;
			transform: translateY(-50%) scale(0.8);
			padding: 0.2rem;
			margin-right: -0.2rem;
		}

		.icon-xj {
			position: absolute;
			right: 2px;
			top: 50%;
			transform: translateY(-50%) scale(0.8);
			padding: 0.2rem;
			margin-right: 0.5rem;
		}

		.get-code {
			position: absolute;
			right: 0;
			top: 50%;
			transform: translateY(-50%);
			color: #40b15d;
			text-align: center;
			width: 1.8rem;
			padding-left: 0.3rem;

			&::before {
				content: "";
				position: absolute;
				height: 24px;
				top: 0;
				bottom: 0;
				margin: auto;
				width: 0.02rem;
				background: #ddd;
				left: -0.2rem;
			}
		}

		.item-student {
			padding-left: 15px;
			display: flex;
			justify-content: flex-start;
			height: 0.85rem !important;
			align-items: center;
			background: #fff;
			span {
				color: #888;
				font-size: 0.28rem;
			}
			/deep/.am-list-item .am-list-line .am-list-content {
				font-size: 0.28rem !important;
			}
		}
	}
	.add-bank-button {
		background: #ffffff;
		text-align: center;
		padding: 0.2rem 0 0.32rem;
		.agreement {
			line-height: 0.34rem;
			color: #888888;
			font-weight: 400;
			font-family: PingFangSC-Regular, PingFang SC;
			font-size: 0.24rem;
			margin-bottom: 0.16rem;
			i {
				color: #302e2f;
			}
		}
	}
	.tips {
		display: flex;
		align-items: center;
		font-size: 0.24rem;
		font-family: PingFangSC-Medium, PingFang SC;
		color: #bdbdbd;
		margin: 0.3rem 0 0.3rem 0.3rem;
		.icon {
			font-size: 20px;
			margin-right: 0.12rem;
		}
	}
}

.code-input {
	width: 200px;
}

.header-img {
	width: 7.5rem;
	height: 4.44rem;
	float: left;
}

.progress-container {
	width: 7.5rem;
	height: 1rem;
	overflow: hidden;
	background: rgba(255, 255, 255, 1);

	.progress-title {
		padding-left: 0.52rem;
		font-size: 0.26rem;
		margin-top: 0.13rem;
		font-family: PingFangSC-Medium, PingFang SC;
		font-weight: 500;
		color: rgba(74, 74, 74, 1);
		line-height: 0.36rem;

		em {
			font-style: normal;
			color: $colorTheme;
		}
	}

	.progress-bg {
		margin-left: 0.52rem;
		margin-top: 0.12rem;
		width: 6.4rem;
		height: 0.14rem;
		background: rgba(237, 237, 237, 1);
		border-radius: 0.06rem;

		.progress-line {
			display: inline-block;
			float: left;
			width: 80%;
			height: 100%;
			background: linear-gradient(
				90deg,
				rgba(255, 208, 51, 1) 0%,
				rgba(247, 94, 29, 1) 100%
			);
			border-radius: 0.08rem;
		}
	}
}

.bank-list-modal {
	.am-modal-body {
		padding-right: 5px !important;
	}

	.am-modal-header {
		border-bottom: 1px solid rgba(238, 238, 238, 1);
		padding-top: 0.32rem;
		padding-left: 0.42rem;
		padding-bottom: 0.24rem;
	}

	.am-modal-title {
		text-align: left;
		font-size: 0.32rem;
	}

	.am-modal-close {
		top: 0.32rem;
	}

	.bank-item {
		&:first-child {
			margin-top: 0.2rem;
		}

		&:last-child {
			// border-bottom: none;
		}

		display: flex;
		padding: 0.26rem 0;
		align-items: center;
		border-bottom: 0.02rem solid #f8f8f8;
		width: inherit;

		img {
			width: 0.6rem;
			height: 0.6rem;
			margin-right: 0.5rem;
		}

		&-desc {
			text-align: left;

			.name {
				color: rgba(74, 74, 74, 1);
				line-height: 0.4rem;
				font-size: 0.28rem;
				margin-bottom: 0.04rem;
			}

			.limit {
				color: rgba(136, 136, 136, 1);
				font-size: 0.24rem;
				line-height: 0.34rem;
			}
		}
	}
}
